<template>
    <div>
        <div class="top">
            <img src="../img/back.png" alt="" class="back" @click="back()">
            <span>注册</span>
            <span class="reg">提交</span>
        </div>
        <table></table>
        <div>
            <div class="user">
                <img src="../img/phone.png" alt="" class="search">
                <input id="phone" type="text" placeholder="请输入手机号(登录账号)" class="search2">
            </div>
            <div class="user2">
                <img src="../img/key (2).png" alt="" class="search">
                <input id="phone" type="text" placeholder="设置密码" class="search2">
            </div>
            <div class="user2">
                <img src="../img/key (2).png" alt="" class="search">
                <input id="phone" type="text" placeholder="确认密码" class="search2">
            </div>
            <div class="user2">
                <img src="../img/email.png" alt="" class="search">
                <input id="phone" type="text" placeholder="输入邮箱(用于找回密码)" class="search2">
            </div>
            <div class="zc">注册即代表同意<span class="xy">用户使用协议</span></div>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            
        }
    },
    methods: {
        back(){
            this.$router.go(-1)
        }
    },
}
</script>
<style scoped>
.top{
    background: #000;
    width:100%;
    height:40px;
    line-height:40px;
    color:#fff;
    position: fixed;
    margin-bottom:30px;
    z-index:1000;
}
.back{
    width:35px;
    margin-right:135px;
    vertical-align: middle;
}
.reg{
    height:30px;
    width:50px;
    margin-left:125px;
}
.user{
    margin-top:50px;
    display: flex;
    margin-left:5%;
    border-bottom:1px solid #ccc;
    margin-right:5%;
}
.search{
    width:25px;
    height:25px;
    display:block;
    margin-top:10px;
}
.search2{
        height:30px;
        border:0; 
        padding-left:20px;
        outline:none;
        display:block;
        font-size:14px;
        margin-top:10px;
    }
.user2{
    margin-top:5px;
    display: flex;
    margin-left:5%;
    border-bottom:1px solid #ccc;
    margin-right:5%;
}
.zc{
    margin-top:20px;
    text-align:center;
    font-size:14px;
}
.xy{
    color:red;
    border-bottom:1px solid red;
}
</style>